package 锁.lock.Condition;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2023/9/5 15:09
 * @description:
 * @version:
 */
public class awaitThread extends Thread {
    waitNotify waitNotify;
    public awaitThread(waitNotify waitNotify){
        this.waitNotify = waitNotify;
    }

    @Override
    public void run() {
        waitNotify.await();
    }
}

